package com.ztf666.service;


import org.elasticsearch.client.indices.CreateIndexRequest;

import java.io.IOException;

/**
 * @Author ztf
 * @Date 20:37 2022/1/17
 **/
public interface IndexService {

    void createIndex(String index) throws IOException;


    void createIndex(CreateIndexRequest request) throws IOException;
}
